#include "Image.h"

Image::UCharVector_t& Image::getPixels()
{
	return m_pixelData;
}

unsigned char* Image::getPixel( unsigned int x, unsigned int y )
{
		x %= m_resolution;
		y %= m_resolution;
		return &(m_pixelData[(x + y * m_resolution) * m_BPP]);
}

unsigned int& Image::getBPP()
{
	return m_BPP;
}

unsigned int& Image::getResolution()
{
	return m_resolution;
}